package com.ybwh.springboot1.annotation;

import java.lang.annotation.*;

/**
 * <p>
 * 作用于controller类或方法上表示需要登录后访问
 * </p>
 *
 * @author fanbeibei
 * @version V1.0
 * @since 2019/5/16 22:57
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface LoginRequired {
}
